.Net Framework > v2.0.50727 > System > Attribute > IsDefined IsDefined(Assembly,Type)
IsDefined(Assembly,Type,Boolean)
IsDefined(MemberInfo,Type)
IsDefined(MemberInfo,Type,Boolean)
IsDefined(Module,Type)
IsDefined(Module,Type,Boolean)
IsDefined(ParameterInfo,Type)
IsDefined(ParameterInfo,Type,Boolean)


IsDefined(Assembly,Type)

Category
Method
Description
Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
elementAssembly
attributeTypeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IsDefined(Assembly,Type,Boolean)

Category
Method
Description
Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
elementAssembly
attributeTypeType
inheritBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IsDefined(MemberInfo,Type)

Category
Method
Description
Determines whether any custom attributes are applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
elementMemberInfo
attributeTypeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IsDefined(MemberInfo,Type,Boolean)

Category
Method
Description
Determines whether any custom attributes are applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
elementMemberInfo
attributeTypeType
inheritBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IsDefined(Module,Type)

Category
Method
Description
Determines whether any custom attributes of a specified type are applied to a module. Parameters specify the module, and the type of the custom attribute to search for.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
elementModule
attributeTypeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IsDefined(Module,Type,Boolean)

Category
Method
Description
Determines whether any custom attributes are applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
elementModule
attributeTypeType
inheritBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IsDefined(ParameterInfo,Type)

Category
Method
Description
Determines whether any custom attributes are applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
elementParameterInfo
attributeTypeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

IsDefined(ParameterInfo,Type,Boolean)

Category
Method
Description
Determines whether any custom attributes are applied to a method parameter. Parameters specify the method parameter, the type of the custom attribute to search for, and whether to search ancestors of the method parameter.
Type
Boolean
Character
public, static
Parameters
NameTypeDescription
elementParameterInfo
attributeTypeType
inheritBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database